package 面试.OOM;/*
 *@Author: helen
 *@Date:   2021/4/16 17:30
 *@Description:
 */

public class UnableCreatNewThreadDemo {
    public static void main(String[] args) {
        for (int i = 0; ; i++) {
            System.out.println("**************i" + i);
            new Thread(() -> {
                },""+i).start();
        }
    }
}
